package com.aiyige.model.request;

import com.aiyige.base.api.ApiManager;
import com.aiyige.model.sns.Comment;

import okhttp3.ResponseBody;
import retrofit2.Call;

/**
 * Created by xiachao on 2017/10/24.
 */

public class AddCommentRequest {

    Comment comment;


    private AddCommentRequest(Builder builder) {
        comment = builder.comment;
    }

    public static Builder newBuilder() {
        return new Builder();
    }




    public static final class Builder {
        private Comment comment;

        private Builder() {
        }

        public Builder comment(Comment comment) {
            this.comment = comment;
            return this;
        }

        public Call<ResponseBody> build() {
            return ApiManager.getService().addComment(comment);
        }


    }



}
